/**
 * 
 */
package com.mvc.model.upgrade;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;

/**
 * 系统升级实体类
 * @author qingjie
 * @version 1.0
 * Date:2016-01-12
 */
@Entity
@Table(name="xt_software_upgrade")
@DynamicInsert(false)
@DynamicUpdate(false)
public class SoftwareUpgrade extends IdEntity implements Serializable{
	private static final long serialVersionUID = 1111852337251092382L;
	
	private String version;//版本号
	private String name;//版本名称
	private String url;//下载地址
	private int size;//大小(单位：kb)
	private String type;//类型0：安卓端，1：苹果端
	private String introduction;//介绍
	private String description;//升级说明
	private int click;//点击数
	private String token;//
	private Date createDate;//创建时间
	private String mereDate;//
	
	private String orderBy;//排序语句
	
	public String getVersion() {
		return version;
	}
	public String getName() {
		return name;
	}
	public String getUrl() {
		return url;
	}
	public int getSize() {
		return size;
	}
	public String getType() {
		return type;
	}
	public String getIntroduction() {
		return introduction;
	}
	public String getDescription() {
		return description;
	}
	public int getClick() {
		return click;
	}
	public String getToken() {
		return token;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public String getMereDate() {
		return mereDate;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setClick(int click) {
		this.click = click;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public void setMereDate(String mereDate) {
		this.mereDate = mereDate;
	}
	@Transient
	public String getOrderBy() {
		return orderBy;
	}
	@Transient
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
	
}
